using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _masterPages_MasterPageDefault : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        MostrarData();
        //ChecarStatusUsuario();
    }

    private void MostrarData()
    {
        string dataHoje = DateTime.Now.ToString("D", new System.Globalization.CultureInfo("pt-BR"));
        dataHoje = dataHoje.Substring(0, 1).ToUpper() + dataHoje.Substring(1);

        lblNowDate.Text = dataHoje;
    }

    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Session.Abandon();
        Server.Transfer("~/Default.aspx");
    }
}
